home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Easy 2010 May
/
Mac Life Ubuntu.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
python2.6
/
dist-packages
/
PIL
/
ImageSequence.pyc
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Compiled Bytecode
|
2009-04-20
|
901 b
|
26 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.6)
class Iterator:
def __init__(self, im):
if not hasattr(im, 'seek'):
raise AttributeError('im must have seek method')
hasattr(im, 'seek')
self.im = im
def __getitem__(self, ix):
try:
if ix:
self.im.seek(ix)
return self.im
except EOFError:
raise IndexError